package com.chm.fw.ui;

import com.chm.framwork.zxing.android.CaptureActivity;

public class QRCodeActivity extends CaptureActivity {

    private boolean isResultText = true;

    //返回的扫描结果
    @Override
    public boolean onResultText(String text) {
        if (isResultText) {
            isResultText = false;
            loadData(text);
        }
        return true;
    }

    private void loadData(String text) {
        isResultText = true;
    }
}
